

.index {
  
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 850px;
  height: 450px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.header {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #D02129;
}

.header .title {
  font-size: 22px;
  font-weight: bold;
}

.header .description {
  font-size: 24px;
  line-height: 25px;
}

.sendBox {
  height: 500px;
  margin: 10px 0;
padding: 10px;
  display: flex;
   background-color: #EFEFEF;
   margin-top: 18px;
//   justify-content: space-between;
  align-items: center;
  .voice{
    font-size: 70px;
  }
}

.sendBox input {
  width: 60%;
  height: 60px;
  background: #fff;
  border: 1px solid #C8C7CC;
  outline: none;
  border-radius: 6px;
}

.sendBox span {
  margin-left: 20px;
  color: #D02129;
  font-size: 50px;
  text-align: right;
  cursor: pointer;
}

.messageContainer{
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.messageContent {
 
  margin-top: 10px;
  // display: flex;
  // justify-content: space-between;
  width: 100%;
  background-color: #f3f3f3;
  border: 1px solid #DADADA;
  height: 1000px;
  font-size: 15px;
  overflow-y: auto;
  scrollbar-width: thin;
  .EveryMessage{
    margin-top: 20px;
   .MessageTime{
    background-color: #ddd;
    font-size: 25px;
    width: 35%;
    height: 35px;
    line-height: 35px;
    padding: 5px;
    color: #fff;
    margin: auto;
    text-align: center;
  } 
  }
  
}

// .message-content::-webkit-scrollbar {
//   width: 5px;
//   height: 5px;
// }

// /*滚动条里面小方块*/
// .message-content::-webkit-scrollbar-thumb {
//   border-radius: 10px !important;
//   background: #b6b6b6 !important;
// }

.messageLeft,.messageRight {
  padding: 4px 11px;
  font-size: 30px;
  margin-top: 5px;
  display: flex;
    align-items: center;
    // width: 100%;
  
  .Message{
    background-color: rgb(118, 194, 4);
    height: 70px;
    line-height: 70px;
    width: 300px;
     padding-left: 20px;
     margin: 0 20px;
  }
  .headSculpture{
    background-color: #ccc;
    border-radius: 50%;
    width: 80px;
    height: 80px;
  }
}
.messageRight {
  flex-direction: row-reverse;
}
.messageLeft .Message{
   background-color: #fff;
}